﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Collections;
using System.Runtime.Serialization.Formatters.Binary;
using System.Management;

namespace NICRUtils {
    class Program {

        static void Main(String[] args) {
            
            //FilePacket fp = new FilePacket();

            //fp.FileData = File.ReadAllBytes(@"C:\enya.mp3");
           
            //fp.IsClass = false;

            //BinaryFormatter binform = new BinaryFormatter();
            //FileStream fs = new FileStream(@"C:\enya.mp3" + 1, FileMode.CreateNew);

            //binform.Serialize(fs, fp);

            //FileProcessor fpp = new FileProcessor();
            //fpp.receiverLocation = @"C:\secondReceiver\";
            //fpp.breakData(@"C:\enya.mp3");


            //fpp.receiverLocation = @"C:\thirdReceiver\";
            //fpp.breakData(@"C:\secondReceiver\");

            Console.WriteLine(System.Environment.MachineName);
            Console.WriteLine(System.Net.Dns.GetHostName());
            Console.WriteLine(System.Net.Dns.GetHostAddresses(System.Net.Dns.GetHostName())[0]);
            Console.WriteLine(System.Net.Dns.GetHostAddresses(System.Net.Dns.GetHostName()).Length);
            
            Console.Read();
            //ManagementObjectSearcher searcher = new ManagementObjectSearcher("select * from Win32_MotherboardDevice");


        }


    }
}
